/**
 * ProductUser
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2017-12-05  Created
 */
package com.lzy.product.dtos;

import java.io.Serializable;
import java.util.List;

/**
 * Description: ProductUser
 * Author: mybatis-generator
 * Version: 1.0
 * Create Date Time: 2017-12-05
 * Update Date Time:
 *
 * @see 'http://www.lzyhll.com'
 */
public class ProductUserDto implements Serializable {

    private static final long serialVersionUID = 3412299011708455671L;
    private Long id;

    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 部门名称
     */
    private String deptName;
    /**
     * 工号
     */
    private String jobNumber;

    /**
     * 公司的id(0 代表平台)
     */
    private Long companyId;

    /**
     * 商户id
     */
    private Long shopId;

    private String loginName;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * 密码
     */
    private String password;

    private String realName;

    /**
     * 性别0：女   1：男
     */
    private String sex;

    private String email;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 数据权限的类型
     */
    private String dataType;

    /**
     * 推荐人 sys_admin_user
     */
    private Long userId;

    private String userPermission;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 盐值
     */
    private String salt;

    /**
     * 使用状态：0 正常 | ...
     */
    private Integer state;

    /**
     * 登录次数
     */
    private Integer loginCount;

    /**
     * 上次访问时间
     */
    private String previousVisit;

    /**
     * 最后一次访问时间
     */
    private String lastVisit;

    /**
     * 密码错误次数
     */
    private Integer errorcount;

    private Boolean deleted;

    private String key;

    /**
     * 城市编码
     */
    private Integer cityCode;

    /**
     * 协议id
     */
    private Long agentProtocol;

    /**
     * 身份证号
     */
    private String idNumber;

    /**
     * 姓名
     */
    private String name;

    /**
     * 代理商编号
     */
    private String agentNumber;

    /**
     * 体系id
     */
    private Long systemId;

    /**
     * 城市编码（代理商查询用）
     */
    private String cityCodeStr;

    /**
     * 成为代理商时间
     */
    private String agentTime;


    public String getAgentTime() {
        return agentTime;
    }

    public void setAgentTime(String agentTime) {
        this.agentTime = agentTime;
    }

    public String getCityCodeStr() {
        return cityCodeStr;
    }

    public void setCityCodeStr(String cityCodeStr) {
        this.cityCodeStr = cityCodeStr;
    }

    public Long getSystemId() {
        return systemId;
    }

    public void setSystemId(Long systemId) {
        this.systemId = systemId;
    }

    public String getAgentNumber() {
        return agentNumber;
    }

    public void setAgentNumber(String agentNumber) {
        this.agentNumber = agentNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Long getAgentProtocol() {
        return agentProtocol;
    }

    public void setAgentProtocol(Long agentProtocol) {
        this.agentProtocol = agentProtocol;
    }

    public Integer getCityCode() {
        return cityCode;
    }

    public void setCityCode(Integer cityCode) {
        this.cityCode = cityCode;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber == null ? null : jobNumber.trim();
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType == null ? null : dataType.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getPreviousVisit() {
        return previousVisit;
    }

    public void setPreviousVisit(String previousVisit) {
        this.previousVisit = previousVisit == null ? null : previousVisit.trim();
    }

    public String getLastVisit() {
        return lastVisit;
    }

    public void setLastVisit(String lastVisit) {
        this.lastVisit = lastVisit == null ? null : lastVisit.trim();
    }

    public Integer getErrorcount() {
        return errorcount;
    }

    public void setErrorcount(Integer errorcount) {
        this.errorcount = errorcount;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserPermission() {
        return userPermission;
    }

    public void setUserPermission(String userPermission) {
        this.userPermission = userPermission;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}